package tetris.game.model;

/**
 * An elementary field of the GameField. 
 *
 */
public class Field {
	
	private Color color;
	
	private boolean dynamic;
	
	public Field(Color color, boolean dynamic) {
		this.color = color;
		this.dynamic = dynamic;
	}

	public Color getColor() {
		return color;
	}
	
	/**
	 * Setter should only be used from within this package.
	 * @param color
	 */
	void setColor(Color color) {
		this.color = color;
	}

	public boolean isDynamic() {
		return dynamic;
	}
	
	/**
	 * Setter should only be used from within this package.
	 * @param dynamic
	 */
	void setDynamic(boolean dynamic) {
		this.dynamic = dynamic;
	}
	
	
}
